﻿CREATE PROCEDURE [dbo].[yaf_system_updateversion](
                @Version     INT,
                @VersionName NVARCHAR(50))
AS
    BEGIN
        DECLARE  @tmpValue  AS NVARCHAR(100)
        SET @tmpValue = CAST(@Version AS NVARCHAR(100))
        EXEC yaf_registry_save
             'Version' ,
             @tmpValue
        EXEC yaf_registry_save
             'VersionName' ,
             @VersionName
            
    END


